package cn.ekuma.epos.panel;


import cn.ekuma.data.dao.bean.I_BaseBean;
import cn.ekuma.data.ui.swing.AbstractDTOTableModel;
import cn.ekuma.epos.datalogic.I_DataLogicERP;
import cn.ekuma.rabbit.spi.I_ModelPart;
import com.openbravo.pos.model.AbstractPosSwingModel;


public abstract class AbstractJModelReportFinishingPanel<T extends I_BaseBean> extends AbstractJReportFinishingPanel<T> implements I_ModelPart<AbstractPosSwingModel> {
/**
* 
*/
private static final long serialVersionUID = 88426249681L;

protected I_DataLogicERP dlSales;

/**
* Create the panel.
*/
public AbstractJModelReportFinishingPanel(AbstractDTOTableModel<T> tableModel) {
super(tableModel);
}

protected AbstractPosSwingModel mode;

@Override
public void setModel(AbstractPosSwingModel mode) {
	this.mode=mode;
	dlSales = mode.getDLERP();
}

}
